﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Split
{
    class Program
    {
        static void Main(string[] args)
        {
            int[,] Arr = new int[2, 5] { { 1, 2, 3, 4, 5 }, { 2, 3, 4, 5, 65 } };
            Console.WriteLine("规则二维数组的输出：");
            for(int i = 0; i < 2; i++)
            {
                for(int j = 0; j < 5; j++)
                {
                    Console.Write(Convert.ToString(Arr[i,j]) + " ");
                }
                Console.WriteLine();
            }
            
            

            string Test = " 我 不 想 爱  中  国  ";
            string[] Test2 = Test.Split('不','想',' ');
            foreach(var ietm in Test2)
            {
                Console.WriteLine(ietm);
            }



            string[] arr = 
            {
                "起风了",
                "in the end",
                "Escape from Comfort Zone "
            };
            arr.PrintArrayInfo();
            Console.ReadKey();

        }
    }
}
